MailPoet\Cron\Workers\SendingQueue\Migration S

Total Complexity 32
Dependencies 6
Dependents 4
Total lines 238
Lines of code 178
Logical lines of code 79
Comment lines 23
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
migrateTaskSubscribers()
S
47 6 40
migrateSendingQueues()
S
47 4 38
prepareTaskStrategy()
S
55 5 21
migrateSubscribers()
S
55 4 19
resumeSending()
S
63 4 10
pauseSending()
S
63 2 12
getNextRunDate()
S
71 2 6
getTaskIdsForUnmigratedSubscribers()
S
62 1 13
checkProcessingRequirements()
S
76 1 4
processTaskStrategy()
S
72 1 6
checkUnmigratedColumnsExist()
S
72 1 5
getUnmigratedQueues()
S
76 1 4